package com.usian.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usian.pojo.shop.Shop;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface ShopMapper extends BaseMapper<Shop> {

    List<Shop> listByStateLt3();

    List<Shop> listByStateGt5();

    Integer compareSname(Shop shop);
}
